<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: SDL_gpu_OpenGL_1_BASE.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SDL_gpu_OpenGL_1_BASE.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SDL__gpu__OpenGL__1__BASE_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _SDL_GPU_OPENGL_1_BASE_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _SDL_GPU_OPENGL_1_BASE_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="SDL__gpu_8h.html">SDL_gpu.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#if !defined(SDL_GPU_DISABLE_OPENGL) &amp;&amp; !defined(SDL_GPU_DISABLE_OPENGL_1_BASE)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    <span class="comment">// Hacks to fix compile errors due to polluted namespace</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">    #ifdef _WIN32</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">    #define _WINUSER_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">    #define _WINGDI_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">    #endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">    #include &quot;glew.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgr) &amp;&amp; !defined(GL_BGR)</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">                #define GL_BGR GL_BGR_EXT</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgra) &amp;&amp; !defined(GL_BGRA)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">                #define GL_BGRA GL_BGRA_EXT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_abgr) &amp;&amp; !defined(GL_ABGR)</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">                #define GL_ABGR GL_ABGR_EXT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">        #undef GL_MIRRORED_REPEAT</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1__BASE_8h_a05bc3a1fdd98251d126a8946a10f9dc8.html#a05bc3a1fdd98251d126a8946a10f9dc8">   27</a></span>&#160;<span class="preprocessor">    #define GL_MIRRORED_REPEAT GL_MIRRORED_REPEAT_ARB</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1__BASE_8h_a1bf6b3961fe68fd88f4193171cd8b562.html#a1bf6b3961fe68fd88f4193171cd8b562">   32</a></span>&#160;<span class="preprocessor">#define GPU_CONTEXT_DATA ContextData_OpenGL_1_BASE</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1__BASE_8h_a1d1b62a2205012b1bf4b31be01d035a0.html#a1d1b62a2205012b1bf4b31be01d035a0">   33</a></span>&#160;<span class="preprocessor">#define GPU_IMAGE_DATA ImageData_OpenGL_1_BASE</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1__BASE_8h_aebe253840844f9b0fd251adc99dbff85.html#aebe253840844f9b0fd251adc99dbff85">   34</a></span>&#160;<span class="preprocessor">#define GPU_TARGET_DATA TargetData_OpenGL_1_BASE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE.html">   39</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structContextData__OpenGL__1__BASE.html">ContextData_OpenGL_1_BASE</a></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a6b201eaf4e7fd4ec49a38a33874b587d.html#a6b201eaf4e7fd4ec49a38a33874b587d">   41</a></span>&#160;        SDL_Color <a class="code" href="structContextData__OpenGL__1__BASE_a6b201eaf4e7fd4ec49a38a33874b587d.html#a6b201eaf4e7fd4ec49a38a33874b587d">last_color</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_aa7db4746429b58c6ee2d9dcc751348e3.html#aa7db4746429b58c6ee2d9dcc751348e3">   42</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1__BASE_aa7db4746429b58c6ee2d9dcc751348e3.html#aa7db4746429b58c6ee2d9dcc751348e3">last_use_texturing</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a21877b7c400c9d48278b50becc6022da.html#a21877b7c400c9d48278b50becc6022da">   43</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1__BASE_a21877b7c400c9d48278b50becc6022da.html#a21877b7c400c9d48278b50becc6022da">last_shape</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_aa53d386a6a39d1c2edfe9ce3f8762e43.html#aa53d386a6a39d1c2edfe9ce3f8762e43">   44</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1__BASE_aa53d386a6a39d1c2edfe9ce3f8762e43.html#aa53d386a6a39d1c2edfe9ce3f8762e43">last_use_blending</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a6cbe05d9362136ee712088808690ddce.html#a6cbe05d9362136ee712088808690ddce">   45</a></span>&#160;        <a class="code" href="structGPU__BlendMode.html">GPU_BlendMode</a> <a class="code" href="structContextData__OpenGL__1__BASE_a6cbe05d9362136ee712088808690ddce.html#a6cbe05d9362136ee712088808690ddce">last_blend_mode</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a9cc560e7f63bdbb40d554774e5cdb1a3.html#a9cc560e7f63bdbb40d554774e5cdb1a3">   46</a></span>&#160;        <a class="code" href="structGPU__Rect.html">GPU_Rect</a> <a class="code" href="structContextData__OpenGL__1__BASE_a9cc560e7f63bdbb40d554774e5cdb1a3.html#a9cc560e7f63bdbb40d554774e5cdb1a3">last_viewport</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a3cf71b80ab1f72ed4160db86b942b2e0.html#a3cf71b80ab1f72ed4160db86b942b2e0">   47</a></span>&#160;        <a class="code" href="structGPU__Camera.html">GPU_Camera</a> <a class="code" href="structContextData__OpenGL__1__BASE_a3cf71b80ab1f72ed4160db86b942b2e0.html#a3cf71b80ab1f72ed4160db86b942b2e0">last_camera</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a690005711e338db3f3e728f091c4c35b.html#a690005711e338db3f3e728f091c4c35b">   48</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1__BASE_a690005711e338db3f3e728f091c4c35b.html#a690005711e338db3f3e728f091c4c35b">last_camera_inverted</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a89c581864688e3e87c970e22e69765e3.html#a89c581864688e3e87c970e22e69765e3">   50</a></span>&#160;        <a class="code" href="structGPU__Image.html">GPU_Image</a>* <a class="code" href="structContextData__OpenGL__1__BASE_a89c581864688e3e87c970e22e69765e3.html#a89c581864688e3e87c970e22e69765e3">last_image</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a68ce6bb1baf756fffefa30ef8ae85038.html#a68ce6bb1baf756fffefa30ef8ae85038">   51</a></span>&#160;        <a class="code" href="structGPU__Target.html">GPU_Target</a>* <a class="code" href="structContextData__OpenGL__1__BASE_a68ce6bb1baf756fffefa30ef8ae85038.html#a68ce6bb1baf756fffefa30ef8ae85038">last_target</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a49b72d4c17dad20e8fd3ff1b61717761.html#a49b72d4c17dad20e8fd3ff1b61717761">   52</a></span>&#160;        <span class="keywordtype">float</span>* <a class="code" href="structContextData__OpenGL__1__BASE_a49b72d4c17dad20e8fd3ff1b61717761.html#a49b72d4c17dad20e8fd3ff1b61717761">blit_buffer</a>;  <span class="comment">// Holds sets of 4 vertices and 4 tex coords interleaved (e.g. [x0, y0, z0, s0, t0, ...]).</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a0c3deb28277a8622bb7b6fa8524f56ea.html#a0c3deb28277a8622bb7b6fa8524f56ea">   53</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__1__BASE_a0c3deb28277a8622bb7b6fa8524f56ea.html#a0c3deb28277a8622bb7b6fa8524f56ea">blit_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a4ffcc027d62f1f54c4bc8b91c1599221.html#a4ffcc027d62f1f54c4bc8b91c1599221">   54</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__1__BASE_a4ffcc027d62f1f54c4bc8b91c1599221.html#a4ffcc027d62f1f54c4bc8b91c1599221">blit_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_af4aba7743bd96c44d6f08d03bbc3f3a3.html#af4aba7743bd96c44d6f08d03bbc3f3a3">   55</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* <a class="code" href="structContextData__OpenGL__1__BASE_af4aba7743bd96c44d6f08d03bbc3f3a3.html#af4aba7743bd96c44d6f08d03bbc3f3a3">index_buffer</a>;  <span class="comment">// Indexes into the blit buffer so we can use 4 vertices for every 2 triangles (1 quad)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_ac180e2ac9af97d8635a719544c9bab94.html#ac180e2ac9af97d8635a719544c9bab94">   56</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1__BASE_ac180e2ac9af97d8635a719544c9bab94.html#ac180e2ac9af97d8635a719544c9bab94">index_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1__BASE_a2b52c1654480b5eb50b0362e7a3d48fe.html#a2b52c1654480b5eb50b0362e7a3d48fe">   57</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1__BASE_a2b52c1654480b5eb50b0362e7a3d48fe.html#a2b52c1654480b5eb50b0362e7a3d48fe">index_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;} <a class="code" href="structContextData__OpenGL__1__BASE.html">ContextData_OpenGL_1_BASE</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1__BASE.html">   60</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structImageData__OpenGL__1__BASE.html">ImageData_OpenGL_1_BASE</a></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1__BASE_a075203968b8a83348ee15b9eab762de8.html#a075203968b8a83348ee15b9eab762de8">   62</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structImageData__OpenGL__1__BASE_a075203968b8a83348ee15b9eab762de8.html#a075203968b8a83348ee15b9eab762de8">refcount</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1__BASE_a4ba4739caf007f8c156f1dd67a907d45.html#a4ba4739caf007f8c156f1dd67a907d45">   63</a></span>&#160;    Uint8 <a class="code" href="structImageData__OpenGL__1__BASE_a4ba4739caf007f8c156f1dd67a907d45.html#a4ba4739caf007f8c156f1dd67a907d45">owns_handle</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1__BASE_a07706c78c31369669b12fb6bb71c37a5.html#a07706c78c31369669b12fb6bb71c37a5">   64</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__1__BASE_a07706c78c31369669b12fb6bb71c37a5.html#a07706c78c31369669b12fb6bb71c37a5">handle</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1__BASE_a85821fcef4bea0a47fafe4a60b093880.html#a85821fcef4bea0a47fafe4a60b093880">   65</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__1__BASE_a85821fcef4bea0a47fafe4a60b093880.html#a85821fcef4bea0a47fafe4a60b093880">format</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;} <a class="code" href="structImageData__OpenGL__1__BASE.html">ImageData_OpenGL_1_BASE</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1__BASE.html">   68</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structTargetData__OpenGL__1__BASE.html">TargetData_OpenGL_1_BASE</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1__BASE_abb6f2a9e77a699cfc132db475aa10c17.html#abb6f2a9e77a699cfc132db475aa10c17">   70</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structTargetData__OpenGL__1__BASE_abb6f2a9e77a699cfc132db475aa10c17.html#abb6f2a9e77a699cfc132db475aa10c17">refcount</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1__BASE_abba199bdfd74e337760d3b8de8503f69.html#abba199bdfd74e337760d3b8de8503f69">   71</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__1__BASE_abba199bdfd74e337760d3b8de8503f69.html#abba199bdfd74e337760d3b8de8503f69">handle</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1__BASE_a9f84c520e0fd532444bdc70173b505b1.html#a9f84c520e0fd532444bdc70173b505b1">   72</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__1__BASE_a9f84c520e0fd532444bdc70173b505b1.html#a9f84c520e0fd532444bdc70173b505b1">format</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;} <a class="code" href="structTargetData__OpenGL__1__BASE.html">TargetData_OpenGL_1_BASE</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a6cbe05d9362136ee712088808690ddce_html_a6cbe05d9362136ee712088808690ddce"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a6cbe05d9362136ee712088808690ddce.html#a6cbe05d9362136ee712088808690ddce">ContextData_OpenGL_1_BASE::last_blend_mode</a></div><div class="ttdeci">GPU_BlendMode last_blend_mode</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:45</div></div>
<div class="ttc" id="structTargetData__OpenGL__1__BASE_html"><div class="ttname"><a href="structTargetData__OpenGL__1__BASE.html">TargetData_OpenGL_1_BASE</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:68</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_af4aba7743bd96c44d6f08d03bbc3f3a3_html_af4aba7743bd96c44d6f08d03bbc3f3a3"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_af4aba7743bd96c44d6f08d03bbc3f3a3.html#af4aba7743bd96c44d6f08d03bbc3f3a3">ContextData_OpenGL_1_BASE::index_buffer</a></div><div class="ttdeci">unsigned short * index_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:55</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_aa7db4746429b58c6ee2d9dcc751348e3_html_aa7db4746429b58c6ee2d9dcc751348e3"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_aa7db4746429b58c6ee2d9dcc751348e3.html#aa7db4746429b58c6ee2d9dcc751348e3">ContextData_OpenGL_1_BASE::last_use_texturing</a></div><div class="ttdeci">Uint8 last_use_texturing</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:42</div></div>
<div class="ttc" id="structGPU__Camera_html"><div class="ttname"><a href="structGPU__Camera.html">GPU_Camera</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:253</div></div>
<div class="ttc" id="structImageData__OpenGL__1__BASE_a85821fcef4bea0a47fafe4a60b093880_html_a85821fcef4bea0a47fafe4a60b093880"><div class="ttname"><a href="structImageData__OpenGL__1__BASE_a85821fcef4bea0a47fafe4a60b093880.html#a85821fcef4bea0a47fafe4a60b093880">ImageData_OpenGL_1_BASE::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:65</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a4ffcc027d62f1f54c4bc8b91c1599221_html_a4ffcc027d62f1f54c4bc8b91c1599221"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a4ffcc027d62f1f54c4bc8b91c1599221.html#a4ffcc027d62f1f54c4bc8b91c1599221">ContextData_OpenGL_1_BASE::blit_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:54</div></div>
<div class="ttc" id="structImageData__OpenGL__1__BASE_html"><div class="ttname"><a href="structImageData__OpenGL__1__BASE.html">ImageData_OpenGL_1_BASE</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:60</div></div>
<div class="ttc" id="structImageData__OpenGL__1__BASE_a4ba4739caf007f8c156f1dd67a907d45_html_a4ba4739caf007f8c156f1dd67a907d45"><div class="ttname"><a href="structImageData__OpenGL__1__BASE_a4ba4739caf007f8c156f1dd67a907d45.html#a4ba4739caf007f8c156f1dd67a907d45">ImageData_OpenGL_1_BASE::owns_handle</a></div><div class="ttdeci">Uint8 owns_handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:63</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a9cc560e7f63bdbb40d554774e5cdb1a3_html_a9cc560e7f63bdbb40d554774e5cdb1a3"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a9cc560e7f63bdbb40d554774e5cdb1a3.html#a9cc560e7f63bdbb40d554774e5cdb1a3">ContextData_OpenGL_1_BASE::last_viewport</a></div><div class="ttdeci">GPU_Rect last_viewport</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:46</div></div>
<div class="ttc" id="SDL__gpu_8h_html"><div class="ttname"><a href="SDL__gpu_8h.html">SDL_gpu.h</a></div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a0c3deb28277a8622bb7b6fa8524f56ea_html_a0c3deb28277a8622bb7b6fa8524f56ea"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a0c3deb28277a8622bb7b6fa8524f56ea.html#a0c3deb28277a8622bb7b6fa8524f56ea">ContextData_OpenGL_1_BASE::blit_buffer_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:53</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_aa53d386a6a39d1c2edfe9ce3f8762e43_html_aa53d386a6a39d1c2edfe9ce3f8762e43"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_aa53d386a6a39d1c2edfe9ce3f8762e43.html#aa53d386a6a39d1c2edfe9ce3f8762e43">ContextData_OpenGL_1_BASE::last_use_blending</a></div><div class="ttdeci">Uint8 last_use_blending</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:44</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a690005711e338db3f3e728f091c4c35b_html_a690005711e338db3f3e728f091c4c35b"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a690005711e338db3f3e728f091c4c35b.html#a690005711e338db3f3e728f091c4c35b">ContextData_OpenGL_1_BASE::last_camera_inverted</a></div><div class="ttdeci">Uint8 last_camera_inverted</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:48</div></div>
<div class="ttc" id="structTargetData__OpenGL__1__BASE_abba199bdfd74e337760d3b8de8503f69_html_abba199bdfd74e337760d3b8de8503f69"><div class="ttname"><a href="structTargetData__OpenGL__1__BASE_abba199bdfd74e337760d3b8de8503f69.html#abba199bdfd74e337760d3b8de8503f69">TargetData_OpenGL_1_BASE::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:71</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_html"><div class="ttname"><a href="structContextData__OpenGL__1__BASE.html">ContextData_OpenGL_1_BASE</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:39</div></div>
<div class="ttc" id="structGPU__BlendMode_html"><div class="ttname"><a href="structGPU__BlendMode.html">GPU_BlendMode</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:133</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a21877b7c400c9d48278b50becc6022da_html_a21877b7c400c9d48278b50becc6022da"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a21877b7c400c9d48278b50becc6022da.html#a21877b7c400c9d48278b50becc6022da">ContextData_OpenGL_1_BASE::last_shape</a></div><div class="ttdeci">unsigned int last_shape</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:43</div></div>
<div class="ttc" id="structGPU__Target_html"><div class="ttname"><a href="structGPU__Target.html">GPU_Target</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:343</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a3cf71b80ab1f72ed4160db86b942b2e0_html_a3cf71b80ab1f72ed4160db86b942b2e0"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a3cf71b80ab1f72ed4160db86b942b2e0.html#a3cf71b80ab1f72ed4160db86b942b2e0">ContextData_OpenGL_1_BASE::last_camera</a></div><div class="ttdeci">GPU_Camera last_camera</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:47</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a68ce6bb1baf756fffefa30ef8ae85038_html_a68ce6bb1baf756fffefa30ef8ae85038"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a68ce6bb1baf756fffefa30ef8ae85038.html#a68ce6bb1baf756fffefa30ef8ae85038">ContextData_OpenGL_1_BASE::last_target</a></div><div class="ttdeci">GPU_Target * last_target</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:51</div></div>
<div class="ttc" id="structGPU__Image_html"><div class="ttname"><a href="structGPU__Image.html">GPU_Image</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:222</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a49b72d4c17dad20e8fd3ff1b61717761_html_a49b72d4c17dad20e8fd3ff1b61717761"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a49b72d4c17dad20e8fd3ff1b61717761.html#a49b72d4c17dad20e8fd3ff1b61717761">ContextData_OpenGL_1_BASE::blit_buffer</a></div><div class="ttdeci">float * blit_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:52</div></div>
<div class="ttc" id="structTargetData__OpenGL__1__BASE_abb6f2a9e77a699cfc132db475aa10c17_html_abb6f2a9e77a699cfc132db475aa10c17"><div class="ttname"><a href="structTargetData__OpenGL__1__BASE_abb6f2a9e77a699cfc132db475aa10c17.html#abb6f2a9e77a699cfc132db475aa10c17">TargetData_OpenGL_1_BASE::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:70</div></div>
<div class="ttc" id="structImageData__OpenGL__1__BASE_a075203968b8a83348ee15b9eab762de8_html_a075203968b8a83348ee15b9eab762de8"><div class="ttname"><a href="structImageData__OpenGL__1__BASE_a075203968b8a83348ee15b9eab762de8.html#a075203968b8a83348ee15b9eab762de8">ImageData_OpenGL_1_BASE::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:62</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a89c581864688e3e87c970e22e69765e3_html_a89c581864688e3e87c970e22e69765e3"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a89c581864688e3e87c970e22e69765e3.html#a89c581864688e3e87c970e22e69765e3">ContextData_OpenGL_1_BASE::last_image</a></div><div class="ttdeci">GPU_Image * last_image</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:50</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_ac180e2ac9af97d8635a719544c9bab94_html_ac180e2ac9af97d8635a719544c9bab94"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_ac180e2ac9af97d8635a719544c9bab94.html#ac180e2ac9af97d8635a719544c9bab94">ContextData_OpenGL_1_BASE::index_buffer_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:56</div></div>
<div class="ttc" id="structImageData__OpenGL__1__BASE_a07706c78c31369669b12fb6bb71c37a5_html_a07706c78c31369669b12fb6bb71c37a5"><div class="ttname"><a href="structImageData__OpenGL__1__BASE_a07706c78c31369669b12fb6bb71c37a5.html#a07706c78c31369669b12fb6bb71c37a5">ImageData_OpenGL_1_BASE::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:64</div></div>
<div class="ttc" id="structTargetData__OpenGL__1__BASE_a9f84c520e0fd532444bdc70173b505b1_html_a9f84c520e0fd532444bdc70173b505b1"><div class="ttname"><a href="structTargetData__OpenGL__1__BASE_a9f84c520e0fd532444bdc70173b505b1.html#a9f84c520e0fd532444bdc70173b505b1">TargetData_OpenGL_1_BASE::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:72</div></div>
<div class="ttc" id="structGPU__Rect_html"><div class="ttname"><a href="structGPU__Rect.html">GPU_Rect</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:61</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a6b201eaf4e7fd4ec49a38a33874b587d_html_a6b201eaf4e7fd4ec49a38a33874b587d"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a6b201eaf4e7fd4ec49a38a33874b587d.html#a6b201eaf4e7fd4ec49a38a33874b587d">ContextData_OpenGL_1_BASE::last_color</a></div><div class="ttdeci">SDL_Color last_color</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:41</div></div>
<div class="ttc" id="structContextData__OpenGL__1__BASE_a2b52c1654480b5eb50b0362e7a3d48fe_html_a2b52c1654480b5eb50b0362e7a3d48fe"><div class="ttname"><a href="structContextData__OpenGL__1__BASE_a2b52c1654480b5eb50b0362e7a3d48fe.html#a2b52c1654480b5eb50b0362e7a3d48fe">ContextData_OpenGL_1_BASE::index_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1_BASE.h:57</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:37 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
